package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目评审对象 sys_project_expert
 *
 * @author riddou
 * @date 2022-04-15
 */
public class SysProjectExpert extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long reviewId;

    /**
     * 专家id
     */
    private Long expertId;

    /**
     * 专家负责项目id
     */
    private Long projectId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 0 审核，可能有评分其他
     */
    @Excel(name = "0 审核，可能有评分其他")
    private Long type;

    /**
     * 项目状态:0 审核中 1 审核完毕 2 其他
     */
    @Excel(name = "项目状态:0 审核中 1 审核完毕 2 其他")
    private Long projectState;

    @Excel(name = "处理结果")
    private Long result;
    /**
     * 处理意见
     */
    @Excel(name = "处理意见")
    private String comment;

    public Long getReviewId() {
        return reviewId;
    }

    public void setExpertId(Long expertId) {
        this.expertId = expertId;
    }

    public Long getExpertId() {
        return expertId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getType() {
        return type;
    }

    public void setProjectState(Long projectState) {
        this.projectState = projectState;
    }

    public Long getProjectState() {
        return projectState;
    }

    public Long getResult() {
        return result;
    }

    public void setResult(Long result) {
        this.result = result;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getComment() {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("expertId", getExpertId())
                .append("projectId", getProjectId())
                .append("type", getType())
                .append("projectState", getProjectState())
                .append("comment", getComment())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
